package com.zygk.qybofficial.config;

import android.os.Environment;
import java.io.File;

/**
 * Created by Wikison on 2016/4/21.
 */
public class Constants {
  public static final String APPNAME = "qyb";
  public static final String APP_CHINESE_NAME = "企盈宝";
  public static final String APP_SHAREREFERENCE = "qyb";

  // sd卡上文件夹的路径
  public final static String APP_ON_SD_PATH = APPNAME + File.separatorChar;
  // 缓存存储路径
  public final static String APP_FILE_DIR =
      Environment.getExternalStorageDirectory().getAbsolutePath()
          + File.separatorChar
          + APP_ON_SD_PATH;

  public final static String IMAGE_CACHE_DIR = APP_FILE_DIR + "imagecache" + File.separatorChar;

  public final static String ImageLoad_CACHE_DIR = "park/imagecache";

  // 图片缓存存储路径
  public final static String SAVE_IMAGE_PATH_IMGS = APP_FILE_DIR + "imgs" + File.separatorChar;
  // 声音缓存存储路径
  public final static String SOUND_CACHE_DIR = APP_FILE_DIR + "sounds" + File.separatorChar;
  // APK
  public final static String APK_CACHE_DIR = APP_FILE_DIR + "apk" + File.separatorChar;

  // 每页显示条数
  public static final int ROWS = 10;
  // 华为token
  public static final String HW_TOKEN = "0868753022378975300000682300CN01";
  // user your appid the key.
  public static final String Mi_APP_ID = "2882303761517807336";
  // user your appid the key.
  public static final String Mi_APP_KEY = "5241780726336";
  //网络故障
  public static final String NET_ERROR = "网络故障，请调整网络信号后重新尝试。";

  //广播
  public static final String BROADCAST_MESSAGE_REFRESH= "BROADCAST_MESSAGE_REFRESH";
}


